package ui.activity.login.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.login.biz.LoginBiz;
import ui.activity.login.contract.LoginContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class LoginModule {
    private LoginContract.View view;

    public LoginModule(LoginContract.View view) {
        this.view = view;
    }

    @Provides
    public LoginContract.View provideView() {
        return view;
    }

    @Provides
    public LoginBiz provideBiz() {
        return new LoginBiz();
    }
}